Brawl - Zero Suit Samus - Subroutine - 0x1999c

  1. if (BoolIsTrue RandomAccessBool(EnableAutoJab))
    1. IfStatementAnd ((RandomAccessInt(ThrowDataParam1) GreaterThan scalar(0)))
    2. IfStatementAnd ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual scalar(-0.5)))
    3. IfStatementAnd (not(TouchingAFloorWallOrCeiling value(1)))
    4. IfStatementAnd (not(TouchingAFloorWallOrCeiling value(16)))
    5. IfStatementAnd (not(TouchingAFloorWallOrCeiling value(32)))
    6. if (TouchingAFloorWallOrCeiling value(2))
      1. IfStatementOr (TouchingAFloorWallOrCeiling value(4))
      2. ReverseDirection
      3. Posture(4)
      4. CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (ButtonTap) }
      5. IntVariableDecrement { variable: RandomAccessInt(ThrowDataParam1) }
  2. if (BoolIsTrue RandomAccessBool (0x18))
    1. if (ButtonPress value(1))
      1. BoolVariableSetTrue { variable: RandomAccessBool(EnableJabEnd) }
    2. else
      1. if (ButtonPress value(0))
        1. BoolVariableSetTrue { variable: RandomAccessBool(EnableJabEnd) }
    3. if (ButtonPress value(2))
      1. BoolVariableSetTrue { variable: RandomAccessBool (0x1a) }
    4. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc42)))
      1. IfStatementAnd ((InternalConstantInt (0x520a) LessThan InternalConstantInt (0x59fb)))
      2. BoolVariableSetTrue { variable: RandomAccessBool (0x1a) }